//
//  AGLCategoryCollectionCell.m
//  滴滴快拍
//
//  Created by dllo on 16/5/19.
//  Copyright © 2016年 dllo. All rights reserved.
//

#import "AGLCategoryCollectionCell.h"

@implementation AGLCategoryCollectionCell

- (instancetype)initWithFrame:(CGRect)frame {
    self = [super initWithFrame:frame];
    if (self) {
        self.cateLabel = [[BaseLabel alloc] init];
        [self.contentView addSubview:self.cateLabel];
    }
    return self;
}

- (void)layoutSubviews {
    [super layoutSubviews];
    self.cateLabel.frame = self.contentView.frame;
    self.cateLabel.textAlignment = 1;
    self.cateLabel.textColor = [UIColor blackColor];
}

















/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect {
    // Drawing code
}
*/

@end
